﻿--  insert test data   
 
USE WWActiveRecord

-- 原始脚本中的表名"Order Details"改为:"OrderDetails"
-- 只留下原始脚本中 前20条记录

go
set quoted_identifier on
go
ALTER TABLE "OrderDetails" NOCHECK CONSTRAINT ALL
go
INSERT "OrderDetails" VALUES(10248,11,14,12,0)
INSERT "OrderDetails" VALUES(10248,42,9.8,10,0)
INSERT "OrderDetails" VALUES(10248,72,34.8,5,0)
INSERT "OrderDetails" VALUES(10249,14,18.6,9,0)
INSERT "OrderDetails" VALUES(10249,51,42.4,40,0)
INSERT "OrderDetails" VALUES(10250,41,7.7,10,0)
INSERT "OrderDetails" VALUES(10250,51,42.4,35,0.15)
INSERT "OrderDetails" VALUES(10250,65,16.8,15,0.15)
INSERT "OrderDetails" VALUES(10251,22,16.8,6,0.05)
INSERT "OrderDetails" VALUES(10251,57,15.6,15,0.05)
go
INSERT "OrderDetails" VALUES(10251,65,16.8,20,0)
INSERT "OrderDetails" VALUES(10252,20,64.8,40,0.05)
INSERT "OrderDetails" VALUES(10252,33,2,25,0.05)
INSERT "OrderDetails" VALUES(10252,60,27.2,40,0)
INSERT "OrderDetails" VALUES(10253,31,10,20,0)
INSERT "OrderDetails" VALUES(10253,39,14.4,42,0)
INSERT "OrderDetails" VALUES(10253,49,16,40,0)
INSERT "OrderDetails" VALUES(10254,24,3.6,15,0.15)
INSERT "OrderDetails" VALUES(10254,55,19.2,21,0.15)
INSERT "OrderDetails" VALUES(10254,74,8,21,0)
go

ALTER TABLE "OrderDetails" CHECK CONSTRAINT ALL
go